package com.zzxy.spring5.factory;

import org.springframework.beans.BeansException;

public class MyBeanPostProcessor {

    public Object postProcessBeforeInitialization(Object obj, String s) throws BeansException {
        System.out.println("5.before post processor : "+s);
        return obj;
    }


    public Object postProcessAfterInitialization(Object o, String s) throws BeansException {
        System.out.println("8.after post processor : "+s);
        return o;
    }
}
